﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="ManualSign.aspx.cs" Inherits="AppraisalManager_ManualSign" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .branchtop
        {
            margin: 10px 50px;
            text-align: left;
            font-size: 12px;
        }
        .lbBranch
        {
            font-size: 14px;
            font-weight: bold;
            background-image: url('../imges/daohangbeijing1.jpg');
            background-repeat: no-repeat;
            text-align: center;
            margin: 0;
            color: White;
            padding-top: 7px;
            height: 22px;
            width: 110px;
        }
        .btnBranch
        {
            width: 50px;
            height: 35px;
            background-color: #ccffff;
            border: 1px solid #000099;
            color: #000099;
        }
        hr
        {
            margin-left: 45px;
            color: Blue;
            width: 804px;
        }
        .txt
        {
            border: 1px solid #6699ff;
            color: Blue;
        }
        </style>
    <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#xinxi").hide();
            $("#xinxi1").hide();
            $("#btnTui").attr('disabled', true);
            $("#btnDao").click(function () {
                $("#xinxi").show();
                $("#btnTui").attr('disabled', false);
                $("#btnDao").attr('disabled', true);
            });
            $("#btnTui").click(function () {
                $("#xinxi").hide();
                $("#xinxi1").show();
                $("#btnTui").attr('disabled', true);
                $("#btnDao").attr('disabled', false);
            });
        });
       
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px; font-size: 14px;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            员工签到/签退</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <div style="margin: 5px 20px;">
            <fieldset style="border: 1px solid #ccc; height: 240px; width: 800px;">
                <legend>员工填写区</legend>
                <ul>
                    <li style="text-align: left; margin: 10px 40px;">签卡日期：
                        <asp:TextBox ID="txtDate" CssClass="txt" runat="server" ></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                        <%--<input id="btnDao" type="button"  value="签到" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="btnTui" type="button"
                            value="签退" />--%>
                            <input type="button" id="btnDao" runat="server" class="btnBranch" value="签到" onserverclick="btnDao_Click" />
                       <%--<asp:Button ID="btnDao" runat="server" CssClass="btnBranch" Text="签到" OnClick="btnDao_Click" />--%>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="btnTui" CssClass="btnBranch" runat="server" Text="签退" OnClick="btnTui_Click" /></li>
                    <li style="text-align: left; margin: 10px 40px;">签卡备注：<asp:TextBox ID="txtMemo" runat="server"
                        TextMode="MultiLine" Height="141px" Width="311px"></asp:TextBox></li>
                </ul>
            </fieldset>
        </div>
        <hr style="margin: 5px 30px; height: 3px; color: #ccffff" />
        <div id="xinxi" style="margin: 5px 30px;">
         <asp:Panel ID="Panel2" runat="server" Height="206px" GroupingText="您的签到信息" 
            Visible="False">
            <asp:Label ID="lblUserID" runat="server" Text="用户号："></asp:Label>
            &nbsp;&nbsp;
            <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblUserName" runat="server" Text="姓名："></asp:Label>
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
            <br />
            <asp:Label ID="lblUserDepartment" runat="server" Text="所属部门："></asp:Label>
            <asp:TextBox ID="txtUserDepartment" runat="server"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="lblSignTime" runat="server" Text="您的签到时间："></asp:Label>
            <asp:Label ID="lblSignInTime" runat="server" Text="Label"></asp:Label>
            <br />
            <asp:Label ID="Label3" runat="server" Text="签卡备注："></asp:Label>
            <asp:TextBox ID="txtSignMemo1" runat="server" Height="99px" TextMode="MultiLine" 
                Width="272px"></asp:TextBox>
        </asp:Panel>
        <asp:Panel ID="Panel3" runat="server" Height="213px" GroupingText="您的签退信息" 
            Visible="False">
            <asp:Label ID="Label4" runat="server" Text="用户号："></asp:Label>
            &nbsp;&nbsp;
            <asp:TextBox ID="txtUserID2" runat="server"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
            <asp:Label ID="Label5" runat="server" Text="姓名："></asp:Label>
            <asp:TextBox ID="txtUserName2" runat="server"></asp:TextBox>
            <br />
            <asp:Label ID="Label6" runat="server" Text="所属部门："></asp:Label>
            <asp:TextBox ID="txtUserDepartment2" runat="server"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label10" runat="server" Text="所属机构："></asp:Label>
            <asp:TextBox ID="txtUserAgency" runat="server" Height="19px" Width="146px"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="Label7" runat="server" Text="您的签退时间："></asp:Label>
            <asp:Label ID="lblSignOffTime" runat="server" Text="Label"></asp:Label>
            <br />
            <asp:Label ID="Label9" runat="server" Text="签卡备注："></asp:Label>
            <asp:TextBox ID="txtSignMemo2" runat="server" Height="99px" TextMode="MultiLine" 
                Width="272px"></asp:TextBox>
        </asp:Panel>
            
        </div>
    </div>
</asp:Content>
